package com.guge.sports.service;

import com.guge.sports.entity.Dto.Option;
import com.guge.sports.entity.Dto.StTeacherDto;
import com.guge.sports.entity.StTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guge.sports.toolPackage.interfaces.BaseServiceInterface;
import com.guge.sports.toolPackage.utils.MyPager;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-09-14
 */
public interface StTeacherService extends BaseServiceInterface<StTeacher> {

    //分页查询
    MyPager<StTeacherDto> selectStTeacherPage(MyPager<StTeacherDto> myPager, StTeacherDto entity);

    //导入Excel数据
    boolean excelImport(MultipartFile uploadFile);

    //导出Excel数据
    boolean excelExport(HttpServletResponse httpServletResponse);

    //获取老师认证年份
    List<Option> getGoStateTimeList();

    //下载表格
    boolean excelDownload(HttpServletResponse response);
}
